package com.xinruke.hostels.support.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author GuoZheng
 * @ClassName SystemDictAddQueryDTO
 * @date：2019/6/25
 * @version: V1.0.0
 * @description：
 */
@ApiModel("字典参数添加请求Dto")
@Data
public class SystemDictAddQueryDTO {


    /**
     * 分组编码
     */
    @ApiModelProperty(value = "分组编码",required = true)
    @NotBlank(message = "分组编码不能为空")
    private String fenzubianma;

    /**
     * 参数名称
     */
    @ApiModelProperty(value = "参数名称",required = true)
    @NotBlank(message = "参数名称不能为空")
    private String canshumingcheng;

    /**
     * 参数值
     */
    @ApiModelProperty(value = "参数值",required = true)
    @NotBlank(message = "参数值不能为空")
    private String canshuzhi;

    /**
     * 展示顺序
     */
    @ApiModelProperty(value = "展示顺序",required = true)
    @NotNull(message = "展示顺序不能为空")
    private Integer zhanshishunxu;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
    private String miaoshu;

}
